package com.waves.design.chain;

public class VicePresident extends Approver {

    public VicePresident(String name) {
        super(name);
    }

    public void processRequest(PurchaseRequest request){
        if (request.getAmount() <  100000) {
            System.out.println();
        } else {
            this.successor.processRequest(request);
        }
    }
}
